Design Recovery for Software Testing ofObject - Oriented
نویسنده
چکیده
Object-oriented features such as encapsulation, inheritance, and state dependent behavior raise new problems in software testing. In this paper, we describe a reverse engineering approach for software testing of object-oriented programs. The approach is based on a graphic model which consists of three types of diagrams: object relation diagram, block branch diagram, and object state diagram. An object relation diagram presents the inheritance, aggregation, and association relations among the object classes. A block branch diagram presents, for a member function, the control structure, the input parameters and output parameters, the external data that are used and aaected, and other functions that are invoked. An object state diagram presents the states and state transitions. Rules for generating these diagrams from a C++ program will be described. These diagrams may be used to 1) provide guidance on the order to test the classes and member functions; 2) prepare member function test cases; 3) prepare test cases for object state dependent hehaviors and interaction between such behaviors; and 4) provide graphic display of coverage information to a tester.
منابع مشابه
Agent Oriented Software Testing – Role Oriented approach
Several Agent Oriented Software Engineering (AOSE) methodologies were proposed to build open, heterogeneous and complex internet based systems. AOSE methodologies offer different conceptual frameworks, notations and techniques, thereby provide a platform to make the system abstract, generalize, dynamic and autonomous. Lifecycle coverage is one of the important criteria for evaluating an AOSE me...
متن کاملExperimental Assessment ofthe E ect of Inheritance on the Maintainability ofObject - Oriented
In this paper, we describe an empirical investigation into the modiiability and understandability of Object-Oriented (OO) software. A controlled experiment was conducted to establish the eeects of varying levels of inheritance on understandability and modiiability. The software used in this experiment consisted of a C++ system without any inheritance and a corresponding version containing three...
متن کاملValidation of Software Architecture for Object-Oriented Testing using with the Facilitate Quality Attributes
In this research investigate, quality of software using comprehend our architecture testing model [34], with the help of object oriented characteristic relationship, using different software metrics. The objective of 'Design Architectural Testing Tool' is to facilitate a design that may contribute to the comprehensiveness of the software testing tool. In this research work first we tr...
متن کاملA Novel ANN based Approach for Reliability of Software using Object Oriented Metrics
In the present scenario, software industries are facing lots of challenges and difficulties for software reliability. Test and measurement can be considered as reliable if they are producing same results over repeated time of quality testing. Software reliability acts an important role in the development of software in Software Development Life Cycle. There are so many factors and issues in SDL...
متن کاملData-Flow-Based Unit Testing of Aspect-Oriented Programs
The current research so far in aspect-oriented software development is focused on problem analysis, software design, and implementation techniques. Even though the importance of software testing is known, it has received little attention in the aspect-oriented paradigm. In this paper, we propose a data-flow-based unit testing approach for aspectoriented programs. Our approach tests two types of...
متن کامل